//
//  HSampleSkinDesignerWC.h
//  HMusicPlayer
//
//  Created by Hament on 14/10/13.
//  Copyright (c) 2014年 HJ. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class HcolorPicker;

@interface HSampleSkinDesignerWC : NSWindowController <NSTableViewDelegate,NSTableViewDataSource,NSPopoverDelegate,NSTabViewDelegate>

@property (nonatomic,strong) IBOutlet NSTableView * skinTv;
@property (nonatomic,strong) IBOutlet NSTableView * colorTv;

@property (nonatomic,strong) NSMutableArray * skinsDataSource; //
@property (nonatomic,strong) NSMutableArray * colorDatasource;
@property (nonatomic,strong) NSMutableArray * iconDatasource;//放img button
@property (nonatomic,strong) NSMutableDictionary * currentSkinDic;
@property (nonatomic,strong) NSArray * menuNmlDataSource;
@property (nonatomic,strong) NSArray * menuHltDataSource;
@property (strong,nonatomic) NSPopover * popover;

@property (nonatomic,strong) HcolorPicker * colorPicker;

@property (nonatomic,strong) IBOutlet NSView  * guideView;
@property (nonatomic,strong)  NSColor  * guidenorColor;
@property (nonatomic,strong)  NSColor  * guidehlColor;


@property (nonatomic,strong) IBOutlet NSTabView  * tabView;
@property (nonatomic,strong) IBOutlet NSView     * buttonView;//放置button



+(HSampleSkinDesignerWC*)shareWc;


- (IBAction)addskin:(NSButton *)sender;

- (IBAction)deleteSkin:(NSButton *)sender;


- (IBAction)exportSkin:(NSButton *)sender;

- (IBAction)refreshSkin:(NSButton *)sender;

- (IBAction)backdefaultSkin:(NSButton *)sender;


//统一设置nml和hlt状态颜色,menu
- (IBAction)setallImgColor:(NSButton *)sender;




@end
